/**  
 * @Title: aaa.java
 * @Description: TODO(描述)
 * @author liuyi
 * @date 2023-06-13 10:28:58 
 */  
package com.fsxgt.datagrid.executor.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import com.fsxgt.datagrid.core.utils.LogHelpper;



@Component
public class InitApplicationRunner implements ApplicationRunner {
	
	@Value("${log.path:\"\"}")
	private String path;
    @Override
    public void run(ApplicationArguments args) throws Exception {
    	LogHelpper.path=path;    	
    }
}
